package ee.maoinvest.backend.model.data;

import java.io.Serializable;
import java.sql.Date;

public class Enterprise implements Serializable
{
	/**
	 * 
	 */
	private static final long serialVersionUID = 2776848257772528781L;
	
	private int enterpriseID; 			// SMALLINT		 		NOT NULL DEFAULT nextval('seq_enterpriseID')
	private String informalName;		// VARCHAR(100) 		d_nameIsNotRequired
	private String businessName; 		// VARCHAR(100)			d_nameIsRequired
	private String registryCode; 		// VARCHAR(100)
	private Date dateInserted;			// java.util.Date	 	d_dateIsRequired
	private Date dateUpdated;			// java.util.Date		d_dateIsNotRequired
	private boolean isActive; 			// BOOLEAN 				DEFAULT false
	private boolean isWrittenOff; 		// BOOLEAN 				DEFAULT false
	private Date dateOfWriteOff; 		// java.sql.Date		d_dateIsNotRequired
	private boolean isDefaultEnterprise;// BOOLEAN				DEFAULT false
	

	public int getEnterpriseID() 
	{
		return enterpriseID;
	}
	
	public void setEnterpriseID(int enterpriseID) 
	{
		this.enterpriseID = enterpriseID;
	}
	
	public String getInformalName() 
	{
		return informalName;
	}
	
	public void setInformalName(String informalName) 
	{
		this.informalName = informalName;
	}
	
	public String getBusinessName() 
	{
		return businessName;
	}
	
	public void setBusinessName(String businessName) 
	{
		this.businessName = businessName;
	}
	
	public String getRegistryCode() 
	{
		return registryCode;
	}
	
	public void setRegistryCode(String registryCode) 
	{
		this.registryCode = registryCode;
	}
	
	public Date getDateInserted()
	{
		return dateInserted;
	}

	public void setDateInserted(Date dateInserted) 
	{
		this.dateInserted = dateInserted;
	}
	
	public Date getDateUpdated()
	{
		return dateUpdated;
	}

	public void setDateUpdated(Date dateUpdated) 
	{
		this.dateUpdated = dateUpdated;
	}
	
	public boolean getIsActive()
	{
		return isActive;
	}
	
	public void setIsActive(boolean isActive) 
	{
		this.isActive = isActive;
	}
	
	public boolean getIsWrittenOff() 
	{
		return isWrittenOff;
	}
	
	public void setIsWrittenOff(boolean isWrittenOff) 
	{
		this.isWrittenOff = isWrittenOff;
	}
	
	public Date getDateOfWriteOff() 
	{
		return dateOfWriteOff;
	}
	
	public void setDateOfWriteOff(Date dateOfWriteOff) 
	{
		this.dateOfWriteOff = dateOfWriteOff;
	}
	
	public boolean getIsDefaultEnterprise() 
	{
		return isDefaultEnterprise;
	}

	public void setIsDefaultEnterprise(boolean isDefaultEnterprise) 
	{
		this.isDefaultEnterprise = isDefaultEnterprise;
	}
}
